home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5202 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.2 KB

  1. Path: news.sfu.ca!rschiema
  2. From: rschiema@news.sfu.ca (Ryan Bradley Schieman)
  3. Newsgroups: comp.lang.c++
  4. Subject: Help defining (using) two parameters of a function call.
  5. Date: 2 Feb 1996 23:50:04 GMT
  6. Organization: Simon Fraser University
  7. Message-ID: <4eu7vc$qlo@morgoth.sfu.ca>
  8. NNTP-Posting-Host: fraser.sfu.ca
  9. X-Newsreader: NN version 6.5.0 #5 (NOV)
  10.  
  11.  
  12. Help!! I am making a call to an FTP.dll (am using BC++ and WFW3.11). I am 
  13. just trying to log on to a site but can't seem to get the parameters straight.
  14.  
  15.  
  16. The call is FtpLogin(LPSTR szHost,LPSTR szUser,LPSTR szPass,
  17.                      HWND hWnd, WMSG wMsg)
  18.  
  19. I have figured out the first three parameters but the last to confuse me.
  20.  
  21. The API says hWnd is the handler of the windows to which the message is to 
  22. be posted.
  23.  
  24. And wMsg is the application-defined message to be posted to the application.
  25.  
  26. Now how do I find out what parameters go in these two spots?
  27.  
  28. (In the .h file the call is:
  29.      int PASCAL FAR FtpLogin (the first 3 are the same,HWND hParentWnd,
  30.                               UINT wMsg)
  31. )
  32.  
  33. I haven't programmed in C++ very much and this is the first time programming
  34. in Windows so any help would be great.
  35.  
  36. Thanks, 
  37. Ryan
  38. e-mail: rschiema@sfu.ca
  39.  
  40.  
  41.